<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>Insert title here</title>
</head>
	<body>
		<form action="AddServlet">
			员工编号: <input type="text" name="empno"><br>
			员工姓名: <input type="text" name="ename"><br>
			员工工作: <input type="text" name="job"><br>
			员工奖金: <input type="text" name="comm"><br>
			所属部门: <select name="deptno">
				<option>-请选择-</option>
				<option th:each="dept:${depts}" th:text="${dept.dname}" th:value="${dept.deptno}">-请选择-</option>
			</select><br>
			<input type="submit" value="添加">			
		
		</form>
	</body>
</html>